<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- html -->
    <p>我是html</p>
    <!-- 1.内部js -->
    <script>
      alert("内部努力");
    </script>
    <!-- 2.外部js -->
    <script src="02-外部js.js">
        // 中间不要写代码
    </script>
    <!-- 3.内联js -->
    <button onclick="alert('我是内联js')">点击我</button>
  </body>
</html>
